package com.deft.design.mediator.util;

import java.util.List;

/**
 * @author Hide丶love
 * @date 2022/05/17
 **/
public interface SqlSession {

    <T> T selectOne(String statement);

    <T> T selectOne(String statement, Object parameter);

    <T> List<T> selectList(String statement);

    <T> List<T> selectList(String statemtnt, Object parameter);

    void close();
}
